-module(cfg_worldmap).
-export([
get/1,
all/0
])
get(1) ->#cfg_worldmap{id=1,name="新手村",maplist=[10001,10002]};
get(2) ->#cfg_worldmap{id=2,name="新手城镇",maplist=[]};
get(_) -> null.
all() ->
[#cfg_worldmap{id=1,name="新手村",maplist=[10001,10002]},#cfg_worldmap{id=2,name="新手城镇",maplist=[]}].